package stories;

import java.util.Arrays;
import java.util.List;

import org.jbehave.core.configuration.Configuration;
import org.jbehave.core.io.UnderscoredCamelCaseResolver;
import org.osito.jbehave.loader.ODFStoryLoader;

import steps.MySteps;

import common.AbstractStory;

public class AOdfStory extends AbstractStory {

	@Override
	public Configuration createConfiguration() {
		return super.createConfiguration() //
				.useStoryLoader(new ODFStoryLoader()) //
				.useStoryPathResolver(new UnderscoredCamelCaseResolver(".odt"));
	}

	@Override
	protected List<Object> getCandidateSteps() {
		return Arrays.<Object> asList(new MySteps());
	}

}
